Using stack layers

Stack layer arranges its children in 2D space next to each other in a stack on the selected axis.

Creating a stack layer

To create a stack layer:

  1. In the Project right-click the scene where you want to create a stack layer and select Create > Stack Layer.
  2. Add several objects to the stack layer.
    Adding objects positions them along the axis defined by the Direction property.
    For example, in the Project right-click the stack layout and select Create > Text Layer.

Setting the distance between objects in a stack layer

You set the distance between objects by setting the properties of each object in a stack layer.

To set the distance between objects in a stack layer, in the Project select each object and adjust its Layout.Item properties. For example, to add space between objects you can set Layout Height and Layout Width, and Vertical Margin and Horizontal Margin properties to values that are higher than the height and width of the objects are.

See also

Using stack layouts